﻿using Bot.Application.Dto;
using System;
using System.Collections.Generic;
using System.Text;

namespace Bot.Application.Services
{
    public interface IEntityAppService
    {
        EntityDto Get(Guid id);

        IEnumerable<EntityDto> GetList(Guid botId, string include ="");

        EntityDto Add(Guid botId, EntityCreateDto dto);

        EntityDto Update(Guid id, EntityUpdateDto dto);

        void Delete(Guid id);
        /// <summary>
        /// 导入
        /// </summary>
        /// <param name="botId"></param>
        /// <param name="filePath"></param>
        /// <returns></returns>
        OperationDto Import(Guid botId, string filePath);
    }
}